package io.github.yotta.notice.common.dto;

import io.github.yotta.common.api.model.ApiRequest;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * @author yotta
 * @date 2023/4/29 9:59
 */
@EqualsAndHashCode(callSuper = true)
@Data
public abstract class BaseNoticeRequest extends ApiRequest {


    /**
     * 消息接收者
     */
    private List<String> receivers;


    /**
     * 通知类型
     * @see NoticeType
     */
    public abstract String noticeType();


}
